package add_$11_Case_7_2_byMyself;

public class Good {
    
    int id;
    String name;
    double price;
    int number;
    double money;
    
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    public int getNumber() {
        return number;
    }
    public void setNumber(int number) {
        this.number = number;
    }
    public double getMoney() {
        return money;
    }
    public void setMoney(double money) {
        this.money = money;
    }
    
    public Good(int id, String name, double price, int number, double money) {
        super();
        this.id = id;
        this.name = name;
        this.price = price;
        this.number = number;
        this.money = money;
    }
    @Override
    public String toString() {
        return "Good [id=" + id + ",name=" + name + ",price=" + price + ",number=" + number + ",money=" + money
                + "]";
    }
    
    
    
}
